<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
  <%@taglib prefix="s" uri="/struts-tags" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>用户管理</title>
<link href="css/jimu.css" type="text/css" rel="stylesheet"><!-- 基于网页地址条寻址 非目录寻址 -->
<script type="text/javascript">
function confirmDel(str){   
 return confirm(str);   
	}   
</script>
</head>
<body>
<!-- 头部包含文件 -->
<%@include file="../common/head.jsp" %>
<table class="main">
	<tr>
		<td style="width:180px;vertical-align:top;">
			<%@include file="../common/menu.jsp" %>	
		</td>
		<td style="vertical-align:top;padding:20px">
			<p>用户信息如下：</p>
				<table class="listTbl">
					<tr >
						<th>用户ID</th>
						<th>用户名</th>
						<th>用户密码</th>
						<th>用户邮箱</th>
						<th>用户真实姓名</th>
						<th>用户性别</th>
						<th>用户生日</th>
						<th>用户地址</th>
						<th>邮编</th>
						<th>移动电话</th>
						<th>固定电话</th>
						<th>积分</th>
						<th>操作</th>
						<th>查看</th>
					</tr>
					<s:iterator value="userList">
					<tr>
						<td style="text-align:center;"><s:property value="id"/></td>
						<td style="text-align:center;"><s:property value="name"/></td>
						<td style="text-align:center;"><s:property value="password"/></td>
						<td style="text-align:center;"><s:property value="email"/></td>
						<td style="text-align:center;"><s:property value="truename"/></td>
						<td style="text-align:center;"><s:property value="gender"/></td>
						<td style="text-align:center;"><s:property value="birthday"/></td>
						<td style="text-align:center;"><s:property value="address"/></td>
						<td style="text-align:center;"><s:property value="postcode"/></td>
						<td style="text-align:center;"><s:property value="phone"/></td>
						<td style="text-align:center;"><s:property value="mobile"/></td>
						<td style="text-align:center;"><s:property value="score"/></td>
						<td style="text-align:center;">
						<a href="delUser.action?id=<s:property value="id"/>" onclick="return confirmDel('确定要删除吗')">删除</a></td>
						<td style="text-align:center;"><a href="userDetail.action?id=<s:property value="id"/>">用户详情</a></td>
					</tr>
					</s:iterator>
				</table>
				
		</td>
	</tr>

</table>
<%@include file="../common/tail.jsp" %>
</body>
</html>